import { Module } from '@nestjs/common';
import { UserModule } from './user/user.module';

import { LogsModule } from './common/logger/logs.module';
import { ConfigModule } from './common/config/config.module';
// import { MailModule } from './common/mail/mail.module';
// import { PrismaModule } from './database/prisma/prisma.module';
import { DatabaseModule } from './database/database.module';
import { AppController } from './app.controller';
import { AuthModule } from './auth/auth.module';
import { RoleModule } from './role/role.module';
import { PermissionModule } from './permission/permission.module';
import { PolicyModule } from './policy/policy.module';
import { SharedModule } from './modules/shared/shared.module';
import { MenuModule } from './modules/menu/menu.module';
@Module({
  imports: [
    DatabaseModule,
    ConfigModule,
    LogsModule,
    // MailModule,
    // PrismaModule,
    UserModule,
    AuthModule,
    RoleModule,
    PermissionModule,
    PolicyModule,
    SharedModule,
    MenuModule,
  ],
  controllers: [AppController],
  providers: [],
})
export class AppModule {}
